package com.example.fina2202.day03;

public class LazySingleton {
    private LazySingleton(){}
    private static LazySingleton lazySingleton;
    public synchronized static LazySingleton getInstance(){
        if (lazySingleton==null)
            lazySingleton = new LazySingleton();
        return lazySingleton;
    }
}
